#include <iostream>
using namespace std;

class A{
public:
	A (int data = 0):m_data(data) {}
	//void print (const *this){}
	void print (void) const {
		//cout << this->m_data++ << endl;
		//将this指针的常属性去除
		cout << const_cast <A*>(this)->m_data++ << endl;
	}
private:
	/*mutable*/ int m_data;
};
int main (void)
{
	A a(1234);
	a.print ();
	a.print ();
	return 0;
}
